<?php echo $this->render($this->includeDir . '/toolbar.php');?>
<?php 
	/*===============================================
	 * Start - Hien thi cac phan tu trong database 
	 *===============================================*/	
	$empty 			= '<em style="color:#ccc">Đang cập nhật...</em>';	
	$name 			= Zendvn_Filter_Filter::filterContent($this->Item['name'],'filter');
	$src			= FILE_URL . '/slider/thumb/' . $this->Item['picture'];
	$picture 		= '<img src="' . $src  . '" />';
	if($this->Item['picture'] == ''){
		$picture = '<i>' . $this->translate('updating') .'<i> ...';
	}
	$ordering 		= $this->Item['ordering'];

	$img = ($this->Item['status'] == 'active') ? 'active.png' : 'inactive.png';
	$src = "images/small-icons/" . $img;
	$status = '<img src="' . $src . '" />';

	//created	created_by	modified	modified_by
	$arrRow = array(
					array('label'=>$this->translate('Name'),'info'=>$name),	
					array('label'=>$this->translate('Picture'),'info'=>$picture),					
					array('label'=>$this->translate('Status'),'info'=>$status),
					array('label'=>$this->translate('Ordering'),'info'=>$ordering)
				);
?>
<div id="element-box">
	<div class="m">
		<div class="form-table">
            	<fieldset class="admin-fieldset">
                <legend class="admin-legend"><?php echo $this->translate('Form Detail')?></legend>
            	<table width="100%" border="0">
                	<?php echo $this->partialLoop('row-info.php',$arrRow);?>
                </table>
                <div class="clr"></div>
                </fieldset>
            </div>
            <div class="clr"></div>
	</div>
</div>

